class TagEntity {
  final String name;
  final String url;

  TagEntity({
    required this.name,
    required this.url,
  });

  factory TagEntity.fromJson(Map<String, dynamic> json) => TagEntity(
    name: json['name'],
    url: json['url'],
  );

  Map<String, dynamic> toJson() => {
    'name': name,
    'url': url,
  };
}